package com.titar.robot.ui.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;

import com.titar.robot.R;

/**
 * @project： MainUi
 * @package： com.test.mainui
 * @class: CustomDialog
 * @author: 陆伟
 * @Date: 2017/6/11 16:35
 * @desc： TODO
 */
public class CustomDialog extends Dialog {
    private static final String TAG = "CustomDialog";
    private Context mContext;
    private int mLayoutId;

    public CustomDialog(Context context, int layoutId) {
        this(context, layoutId, R.style.customDialog);
    }

    public CustomDialog(Context context, int layoutId, int themeResId) {
        super(context, themeResId);
        mContext = context;
        mLayoutId = layoutId;
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(mLayoutId);
    }
}
